import { createApp } from 'vue'
import { createPinia } from 'pinia'
import Antd from 'ant-design-vue'
import zhCN from 'ant-design-vue/es/locale/zh_CN'
import 'ant-design-vue/dist/reset.css'
import './style.css'

import App from './App.vue'
import router from './router'
import directives from './directives'

const app = createApp(App)

app.use(createPinia())
app.use(router)
app.use(Antd)
app.use(directives)

// 配置全局中文语言包
app.provide('$antLocale', zhCN)

app.mount('#app')
